import React, { Component } from 'react';

class Child extends Component {

    // click = (evt)=>{
    //     console.log(evt)
    // }
    click = (evt,res)=>{
        console.log(evt,res);
    }

    render() {
        return (
            <div>
                {/* <button onClick={this.click}>点劳资</button> */}
                <button onClick={(evt) => this.click(evt,123)}>点劳资</button>

            </div>
        );
    }
}

export default Child;
